//
//  YLAESTool.h
//  Yilong
//
//  Created by DisCover on 2021/6/23.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface YLAESTool : NSObject
+ (NSData*)AES128Decrypt:(NSData*)data key:(Byte*)akey;
+ (NSData*)AES128Encrypt:(NSData*)data key:(Byte*)aKey;
+(NSData*)AES_NEW_AESEn:(NSData*)plain pass:(NSData*)key;
+(NSData*)AES_NEW_AESDecrypt:(NSData*)encryptText password:(NSData*)key;
+(NSData*)AES_NEW_AESEnString:(NSData*)plain pass:(NSString*)key;
@end

NS_ASSUME_NONNULL_END
